package cn.kgc.disk.Dao;

import cn.kgc.disk.entity.User;

import java.util.Map;

public class UsbDisk implements Disk {
    private String str = null;
    public Map<String, String> getMap() {
        return map;
    }
    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    private Map<String,String> map;

    public void setStr(String str) {
        this.str = str;
    }

    @Override
    public String read() {
        System.out.println("U盘读取数据");
        return null;
    }

    @Override
    public String write() {
        System.out.println("U盘写入：" + str);
        return null;
    }
    public void mapthing(){
        System.out.println(map);
    }
}
